#pragma once
#include "Gobj.h"
#ifndef EEG_H
#define EEG_H
//trung voi shit
class Egg :public Gobj
{
protected:
	Point2d position;
	bool m_isEgg;
	bool m_isDestroy;
public:
	Egg(SDL_Surface * img, Point2d pos);
	virtual ~Egg();
	virtual void Update(int speed);//toc do roi trung
	bool isDestroy()//miss trung
	{
		return m_isDestroy;
	}
	void setEgg(){ //true la trung false la shit
		m_isEgg = true;
	}
	void setShit(){
		m_isEgg = false;
	}
	bool isEgg()
	{
		return m_isEgg;
	}

};
#endif